package com.wwz.frame.controller;

import com.wwz.frame.entity.User;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**  
* @Description WebMvcConfig 测试
* @Author wwz
* @Date 2019/08/16 
* @Param   
* @Return   
*/
@Api(value = "WebMvcController",tags = "WebMvcConfig 测试")
@RestController
@RequestMapping("/webmvc")
public class WebMvcController {

    @Autowired
    private User user;

    @GetMapping
    public User getUser(){
        return user;
    }
}
